<?php


namespace App\Model\Base;


/**
 * Class ApiRequestBody
 * @package App\Model\Base
 * @property integer $param_id
 * @property integer $api_id
 * @property string $param_type
 * @property string $param_name
 * @property string $part
 * @property string $default
 * @property string $remark
 * @property integer $required
 * @property string $deleted_at
 * @property string $created_at
 * @property string $updated_at
 */
class ApiRequestBody extends BaseModel
{
    public $primaryKey = 'param_id';
    public $table = 'api_request_body';
    public $fillable = ['api_id', 'param_type', 'param_name', 'part', 'default', 'remark', 'required'];

    /**
     * @return int
     */
    public function getParamId(): int
    {
        return (int)$this->param_id;
    }

    /**
     * @param int $param_id
     */
    public function setParamId(int $param_id): void
    {
        $this->param_id = (int)$param_id;
    }

    /**
     * @return string
     */
    public function getPart(): string
    {
        return (string)$this->part;
    }

    /**
     * @param string $part
     */
    public function setPart(string $part): void
    {
        $this->part = (string)$part;
    }

    /**
     * @return string
     */
    public function getParamType(): string
    {
        return (string)$this->param_type;
    }

    /**
     * @param string $param_type
     */
    public function setParamType(string $param_type): void
    {
        $this->param_type = (string)$param_type;
    }

    /**
     * @return int
     */
    public function getApiId(): int
    {
        return (int)$this->api_id;
    }

    /**
     * @param int $api_id
     */
    public function setApiId(int $api_id): void
    {
        $this->api_id = (int)$api_id;
    }


    /**
     * @return string
     */
    public function getParamName(): string
    {
        return (string)$this->param_name;
    }

    /**
     * @param string $param_name
     */
    public function setParamName(string $param_name): void
    {
        $this->param_name = (string)$param_name;
    }

    /**
     * @return string
     */
    public function getDefault(): string
    {
        return (string)$this->default;
    }

    /**
     * @param string $default
     */
    public function setDefault(string $default): void
    {
        $this->default = (string)$default;
    }

    /**
     * @return string
     */
    public function getRemark(): string
    {
        return (string)$this->remark;
    }

    /**
     * @param string $remark
     */
    public function setRemark(string $remark): void
    {
        $this->remark = (string)$remark;
    }

    /**
     * @return int
     */
    public function getRequired(): int
    {
        return (int)$this->required;
    }

    /**
     * @param int $required
     */
    public function setRequired(int $required): void
    {
        $this->required = (int)$required;
    }

}